package com.wnxy.admin.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author hj
 * 财务报表dto
 */

@Data
public class OperatorReportDto {

    //充电站
    @ExcelProperty("充电站")
    @ColumnWidth(20)
    private String chargingStation;

    //月份
    @ExcelProperty("月份")
    @ColumnWidth(20)
    private String month;

    //该充电站充电次数
    @ExcelProperty("充电次数")
    @ColumnWidth(20)
    private Long chargeCount;

    //充电电量
    @ExcelProperty("充电电量")
    @ColumnWidth(20)
    private BigDecimal chargeSum;

    //充电金额
    @ExcelProperty("充电金额")
    @ColumnWidth(20)
    private BigDecimal chargeAmount;

    //充电时长
    @ExcelProperty("充电时长")
    @ColumnWidth(20)
    private BigDecimal chargeDuration;

    public OperatorReportDto(){
        this.chargeSum = BigDecimal.ZERO;
        this.chargeAmount = BigDecimal.ZERO;
    }

}
